{% extends "base.html" %}
{% block title %}Asignar Roles Administrativos{% endblock %}
{% block head %}Asignar Roles Administrativos{% endblock %}
{% block content %}
{% if show_user_list %}
{% include "user_list.html" %}
<form action="" method="get">
{{ searchform.buscar }}
<input type="submit" value="Buscar">
</form>
<br>
<input type="button" name="load" value="Volver al Men&uacute;" onClick='location.href="/"'>
{% else %}
<style type="text/css">
label { vertical-align: top; }
</style>

<form action="" method="post" >
    <label>Usuario:  </label> {{ username }}
	<br>
    <p>Se asignar&aacute;n los sgtes. roles:</p>
	{{rol_adm_form.roladm}}
	<input name="idUser" type="hidden" value={{idUser}}>
    <input type="submit" value="Guardar">
	<input type="button" name="load" value="Cancelar" onClick='location.href="/"'>
</form>
{% endif %}
{% endblock %}

